package com.gpframework.module.wages.mapper;

import com.gpframework.module.wages.domain.GzWarehouseEvaluation;
import com.gpframework.module.wages.domain.vo.GzWarehouseEvaluationVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzWarehouseEvaluation
 * @Author gpframework
 * @Date 2024-01-19
 * @Version 1.0.0
 * @Description 仓库评定Mapper接口
 */
public interface GzWarehouseEvaluationMapper extends BaseMapper<GzWarehouseEvaluation> {

    /**
    * 列表
    * @param lqw
    * @return
    */
    List<GzWarehouseEvaluationVo> listVo(@Param("ew") QueryWrapper<GzWarehouseEvaluation> lqw);

    /**
    * 对象
    * @param id
    * @return
    */
    GzWarehouseEvaluationVo getVo(@Param("id")Long id);

    void deleteByMonth(@Param("yearMonth") Date yearMonth);

    List<GzWarehouseEvaluationVo> listVoed(@Param("ew")QueryWrapper<GzWarehouseEvaluation> lqw);
}
